$def with (privData)
<!-- used with jquery.js and thumbnail.select.js  and common.css -->
<div class="thumbnail_select_widget">
    <img id="current_thumbnail" src="$makeUrl('/user/image/thumbnail', {'id':privData['CURRENT_IMG']})"></img>
    <input type="hidden" id="thumbnail" name="$:privData['SUBMIT_NAME']" value="$:privData['CURRENT_IMG']"></input>
    <input type="button" id="select_thumbnail" value="选择"/>
    <div id="thumbnail_list" class="hidden thumbnail_list">
        <label>专辑:&nbsp;&nbsp;</label> <SELECT  id="img_album">
            $for k, v in privData['ALBUM_LIST'].items():
            <option value="$:k"
            $if k == privData['CURRENT_ALBUM']:
                selected="selected"
            >$:v</option>
        </SELECT>
        <p>&nbsp;</p>

        $for album, imgList in privData['IMG_ALBUM_LIST'].items():

        <div id="thumbnail_list_$:album"
            $if album != privData['CURRENT_ALBUM']:
                class="hidden"
        >
            $ i = 0
            $for k, v in imgList.items():
                $ i = i+1
                $if i%3 == 0:
                    <br/><br/>
                <input type="radio" value="$:k" name="thumbnail_raido"
                $if k == privData['CURRENT_IMG']: 
                    checked="checked"
                ><img src="$makeUrl('/user/image/thumbnail',{'id':k})" alt="$:v"/></input>
        </div>
    </div>
</div>
